function themeRoller(theme){
	var $oldThemeSplit = $('#css-theme').attr('href').split('/');
	var $themePath = '';
	for ($i = 0; $i < $oldThemeSplit.length - 1; $i++)
	{
		$themePath += $oldThemeSplit[$i] + '/';
	}
	$themePath += 'theme.' + theme + '.css';
	$('#css-theme').attr('href', $themePath);
	$.cookie('theme', theme);
	return true;
}
$(document).ready(function() {
	/* Begin: Theme Roller */
	if ($.cookie('theme'))
	{
		//alert($.cookie('theme'));
		themeRoller($.cookie('theme'));
	}
	/* End: Theme Roller */
});